home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / exec / execbase.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  2KB  |  80 lines

  1. #ifndef    EXEC_EXECBASE_H
  2. #define    EXEC_EXECBASE_H
  3. #ifndef EXEC_TYPES_H
  4. #include "exec/types.h"
  5. #endif /* !EXEC_TYPES_H */
  6. #ifndef    EXEC_LISTS_H
  7. #include    "exec/lists.h"
  8. #endif    /* !EXEC_LISTS_H */
  9. #ifndef    EXEC_INTERRUPTS_H
  10. #include    "exec/interrupts.h"
  11. #endif    /* !EXEC_INTERRUPTS_H */
  12. #ifndef    EXEC_LIBRARIES_H
  13. #include    "exec/libraries.h"
  14. #endif    /* !EXEC_LIBRARIES_H */
  15. #ifndef    EXEC_TASKS_H
  16. #include    "exec/tasks.h"
  17. #endif    /* !EXEC_TASKS_H */
  18. struct    ExecBase    {
  19. struct    Library    LibNode;
  20. UWORD    SoftVer;
  21. WORD    LowMemChkSum;
  22. ULONG    ChkBase;
  23. APTR    ColdCapture;
  24. APTR    CoolCapture;
  25. APTR    WarmCapture;
  26. APTR    SysStkUpper;
  27. APTR    SysStkLower;
  28. ULONG    MaxLocMem;
  29. APTR    DebugEntry;
  30. APTR    DebugData;
  31. APTR    AlertData;
  32. APTR    MaxExtMem;
  33. UWORD    ChkSum;
  34. struct    IntVector    IntVects[16];
  35. struct    Task    *ThisTask;
  36. ULONG    IdleCount;
  37. ULONG    DispCount;
  38. UWORD    Quantum;
  39. UWORD    Elapsed;
  40. UWORD    SysFlags;
  41. BYTE    IDNestCnt;
  42. BYTE    TDNestCnt;
  43. UWORD    AttnFlags;
  44. UWORD    AttnResched;
  45. APTR    ResModules;
  46. APTR    TaskTrapCode;
  47. APTR    TaskExceptCode;
  48. APTR    TaskExitCode;
  49. ULONG    TaskSigAlloc;
  50. UWORD    TaskTrapAlloc;
  51. struct    List    MemList;
  52. struct    List    ResourceList;
  53. struct    List    DeviceList;
  54. struct    List    IntrList;
  55. struct    List    LibList;
  56. struct    List    PortList;
  57. struct    List    TaskReady;
  58. struct    List    TaskWait;
  59. struct    SoftIntList    SoftInts[5];
  60. LONG    LastAlert[4];
  61. UBYTE    VBlankFrequency;
  62. UBYTE    PowerSupplyFrequency;
  63. struct    List    SemaphoreList;
  64. APTR    KickMemPtr;
  65. APTR    KickTagPtr;
  66. APTR    KickCheckSum;
  67. UBYTE    ExecBaseReserved[10];
  68. UBYTE    ExecBaseNewReserved[20];
  69. };
  70. #define    SYSBASESIZE    sizeof(struct    ExecBase)
  71. #define    AFB_68010    0L
  72. #define    AFB_68020    1L
  73. #define    AFB_68881    4L
  74. #define    AFF_68010    (1L<<0)
  75. #define    AFF_68020    (1L<<1)
  76. #define    AFF_68881    (1L<<4)
  77. #define    AFB_RESERVED8    8L
  78. #define    AFB_RESERVED9    9L
  79. #endif
  80.